package web.com.service.Impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import web.com.entitiy.User;
import web.com.mapper.UserMapper;
import web.com.service.UserService;

import java.util.List;

@Service
public class UserServiceImpl   extends ServiceImpl<UserMapper, User> implements UserService  {


    @Autowired(required = false)
    UserMapper userMapper;


    @Override
    public List<User> findAllUser() {
        return  userMapper.selectAll();
    }
}
